package com.currency.mall.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/12/26.
 */

public class SharesBean {

    private String code;//": "0000",  #处理状态
    private String msg;//": "成功",  #处理提示信息
    private List<SharesInfo>  collectShares;
    private List<SharesInfo>  shares;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<SharesInfo> getCollectShares() {
        return collectShares;
    }

    public void setCollectShares(List<SharesInfo> collectShares) {
        this.collectShares = collectShares;
    }

    public List<SharesInfo> getShares() {
        return shares;
    }

    public void setShares(List<SharesInfo> shares) {
        this.shares = shares;
    }

    public class SharesInfo implements Serializable{
        private String  id;//": 1, #ID
        private String  code;//": "sh600000", #股票编码
        private String name;//": "浦发银行", #名称
        private String  openingPrice;//": "10.230", #今日开盘价
        private String  closingPrice;//": "10.250", #昨日收盘价
        private String  currentPrice;//": "10.070", #当前价格
        private String  highestPrice;//": "10.240", #今日最高价
        private String  lowestPrice;//": "10.000", #今日最抵价
        private String  buyPrice;//": "10.070", #竞买价，即“买一“报价
        private String  sellPrice;//": "10.080", #竞卖价，即“卖一“报价
        private String  dealSharesCount;//": "20885862", #成交的股票数
        private String  dealSharesSum;//": "209975605.000", #成交金额
        private Double  upsDownsRate;//": 0.2, #跌涨率，正数涨，负数跌,单位%
        private String  date;//": "2018-12-21 15:00:00", #日期
        private String  collect;//": true #是否收藏，false代表没，true代表收藏全部都是true

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getOpeningPrice() {
            return openingPrice;
        }

        public void setOpeningPrice(String openingPrice) {
            this.openingPrice = openingPrice;
        }

        public String getClosingPrice() {
            return closingPrice;
        }

        public void setClosingPrice(String closingPrice) {
            this.closingPrice = closingPrice;
        }

        public String getCurrentPrice() {
            return currentPrice;
        }

        public void setCurrentPrice(String currentPrice) {
            this.currentPrice = currentPrice;
        }

        public String getHighestPrice() {
            return highestPrice;
        }

        public void setHighestPrice(String highestPrice) {
            this.highestPrice = highestPrice;
        }

        public String getLowestPrice() {
            return lowestPrice;
        }

        public void setLowestPrice(String lowestPrice) {
            this.lowestPrice = lowestPrice;
        }

        public String getBuyPrice() {
            return buyPrice;
        }

        public void setBuyPrice(String buyPrice) {
            this.buyPrice = buyPrice;
        }

        public String getSellPrice() {
            return sellPrice;
        }

        public void setSellPrice(String sellPrice) {
            this.sellPrice = sellPrice;
        }

        public String getDealSharesCount() {
            return dealSharesCount;
        }

        public void setDealSharesCount(String dealSharesCount) {
            this.dealSharesCount = dealSharesCount;
        }

        public String getDealSharesSum() {
            return dealSharesSum;
        }

        public void setDealSharesSum(String dealSharesSum) {
            this.dealSharesSum = dealSharesSum;
        }

        public Double getUpsDownsRate() {
            return upsDownsRate;
        }

        public void setUpsDownsRate(Double upsDownsRate) {
            this.upsDownsRate = upsDownsRate;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getCollect() {
            return collect;
        }

        public void setCollect(String collect) {
            this.collect = collect;
        }
    }

}
